package com.tian.mapper;

import com.tian.entity.User;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface UserMapper {
    int insert(User record);

    List<User> selectAll();
    User findByUserName(String userName);
}